package com.zyong.design.pattern.template.case3;

/**
 * @program: zyong-design-pattern
 * @ClassName: Client
 * @author: zyong
 * @create: 2024-04-27 21:13
 */
public class Client {
    public static void main(String[] args) {
        // 办理存款业务
        SaveMoney saveMoney = new SaveMoney();
        saveMoney.service();

        System.out.println("-------------------");

        // 办理取款业务
        TakeMoney takeMoney = new TakeMoney();
        takeMoney.service();
    }
}
